class girlFriend {
    gender;
    weight;
    height;
    age;
    income;
    education;

    constructor(gender, weight, height, age, income, education) {
        this.gender = gender;
        this.weight = weight;
        this.height = height;
        this.age = age;
        this.income = income;
        this.education = education;
    }
    getGeo(){
        return `身高${this.height}\n体重${this.weight}\n年龄${this.age}\n收入${this.income}\n学历${this.education}\n`
    }
}
let myGirl = new girlFriend('女','50','165','25','无穷大','本科')
console.log(myGirl.getGeo())
